package com.comeval.logica;

import com.comeval.modelo.Persona;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author DianaMarcela
 */
@Local
public interface LogicaPersonaLocal {

    public void registrarPersona(Persona persona) throws Exception;
    public void modificarPersona(Persona persona) throws Exception;
    public void eliminarPersona(Persona persona) throws Exception;
    public List<Persona> consultarPersonas() throws Exception;
    public Persona consultarPorCodigo(String documentonitpersona) throws Exception;

}
